package com.weixing.mall.provider.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.weixing.mall.provider.api.model.enums.OrderTypeEnum;
import com.weixing.mall.provider.model.enums.*;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @ClassName AppDepotAfterSaleDetilVo
 * @Description TODO <br/>
 * @Author gjq
 * @Modified By:
 * @Date 2019/11/8
 * @Version 1.0
 **/
@Data
public class AppDepotAfterSaleDetilVo {


    private Long id;
    private Long buyerId;
    //订单编号
    private String orderSn;
    //物流单号
    private String expressSn;
    //原始物流单号
    private String beforExpressSn;
    //订单状态
    private OrderStateEnum orderStatus;
    //订单类型
    private OrderTypeEnum orderType;
    //订单来源
    private OrderFromEnum orderFrom;
    //客户备注
    private String remark;
    //客服备注
    private String kefuRemark;
    //下单时间
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date createdTime;
    //审核时间
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date auditTime;
    //下单人
    private String buyer;

    //审核人ID(用于查询审核人名称)
    private Long auditor;
    //审核流转部门(用于判断那一张表内查询审核人名称)
    private AuditDeptEnum auditDept;
    //审核名称
    private String auditorName;
    //客服名称
    private String customerName;

    //客户名称（联系人）
    private String contactUser;
    //联系电话
    private String contactPhone;
    //收货地址
    private String addrDetail;
    //省
    private String province;
    //市
    private String city;
    //区
    private String region;
    //街道
    private String town;
    //商品货号
    private String goodsSn;
    //供应商
    private String supplierName;
    //sku描述
    private String productSkuDesp;
    //商品图片
    private String image;
    //发货员
    private String shipperName;

    //售后状态
    private AfterSaleAuditEnum afterSaleStatus;
    //售后类型
    private AfterSalesTypeEnum afterSaleType;
    //退回原因
    private String applyReason;
    //退回备注
    private String operationRemark;
    //处理结果（售后记录表的处理结果）
    private AfterSaleResultEnum auditResult;
    //处理时间（售后记录表的记录创建时间）
    private Date operationTime;
    //驳回原因(售后记录表里面的审核备注)
    private String auditRemark;
    //商品id
    private Long goodsId;
    /** 订单金额*/
    private BigDecimal orderPrice;

}
